package com.bbjob.model;

import javax.persistence.*;

@Table(name = "production_codes")
public class ProductionCodes {
    public ProductionCodes(){}
    public ProductionCodes(Integer productId,String codeType,String code){
        this.productId=productId;
        this.codeType=codeType;
        this.code=code;
    }
    @Id
    @Column(name = "product_id")
    private Integer productId;

    @Id
    private String code;

    @Id
    @Column(name = "code_type")
    private String codeType;

    /**
     * @return product_id
     */
    public Integer getProductId() {
        return productId;
    }

    /**
     * @param productId
     */
    public void setProductId(Integer productId) {
        this.productId = productId;
    }

    /**
     * @return code
     */
    public String getCode() {
        return code;
    }

    /**
     * @param code
     */
    public void setCode(String code) {
        this.code = code;
    }

    /**
     * @return code_type
     */
    public String getCodeType() {
        return codeType;
    }

    /**
     * @param codeType
     */
    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }
}